import { Component, OnInit } from '@angular/core';
import { _HttpClient } from '@delon/theme';
import {UploadFile} from 'ng-zorro-antd';

@Component({
  selector: 'app-qr-code-confirm',
  templateUrl: './qr-code-confirm.component.html',
})
export class QrCodeConfirmComponent implements OnInit {

    uploadUrl:string;
    fileList = [{
        uid: -1,
        name: 'xxx.png',
        status: 'done',
        url: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
    }];
    previewImage = '';
    previewVisible = false;
    handlePreview = (file: UploadFile) => {
        this.previewImage = file.url || file.thumbUrl;
        this.previewVisible = true;
    }
    constructor(
        private http: _HttpClient
    ) { }

    ngOnInit() {
    }

}
